package com.qf.card.service;

import com.github.pagehelper.PageInfo;
import com.qf.card.pojo.TDealParticulars;

import java.util.List;

/****
 * @Author:shenkunlin
 * @Description:TDealParticulars业务层接口
 * @Date 2019/6/14 0:16
 *****/
public interface TDealParticularsService {

    /***
     * TDealParticulars多条件分页查询
     * @param tDealParticulars
     * @param page
     * @param size
     * @return
     */
    PageInfo<TDealParticulars> findPage(TDealParticulars tDealParticulars, int page, int size);

    /***
     * TDealParticulars分页查询
     * @param page
     * @param size
     * @return
     */
    PageInfo<TDealParticulars> findPage(int page, int size);

    /***
     * TDealParticulars多条件搜索方法
     * @param tDealParticulars
     * @return
     */
    List<TDealParticulars> findList(TDealParticulars tDealParticulars);

    /***
     * 删除TDealParticulars
     * @param id
     */
    void delete(Integer id);

    /***
     * 修改TDealParticulars数据
     * @param tDealParticulars
     */
    void update(TDealParticulars tDealParticulars);

    /***
     * 新增TDealParticulars
     * @param tDealParticulars
     */
    void add(TDealParticulars tDealParticulars);

    /**
     * 根据ID查询TDealParticulars
     * @param id
     * @return
     */
     TDealParticulars findById(Integer id);

    /***
     * 查询所有TDealParticulars
     * @return
     */
    List<TDealParticulars> findAll();
}
